package com.qh.yyxt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qh.yyxt.entity.GetAndReturn;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
public interface GetAndReturnMapper extends BaseMapper<GetAndReturn>
{
    //-----取东西的部分
    public int add(GetAndReturn getAndReturn);
    //-----还东西的部分
    public int addReturn(GetAndReturn getAndReturn);
    //修改信息
    public int updateRmesByFid(Integer fid,String rmes);
    //根据fid查询
    public GetAndReturn findByFid(Integer fid);

}
